import React from 'react';
import {connect} from 'react-redux'
import testConnect from './testConnect'


const Text = (props) => {
    return (
        <div>
           {props.isShow && <span>hahahahhahahahha</span>}
        </div>
    );
}

export default connect((state)=>{
    return{
        isShow:state.HandleReducer.isShow
    }
})(Text);
